package com.finley.flowabledemo.design.state.demo02.source;


import cn.hutool.core.util.StrUtil;

import java.time.LocalDate;

/**
 * @description:
 * @author: xianfei.chao
 * @date 2025/6/24 17:12
 * @version: 1.0
 */
public class ShippingService {

    public void createShipment(Order order){
        System.out.println(StrUtil.format("订单:创建发货单,订单号:[{}], 时间:[{}],总金额:[{}]",
                order.getId(), LocalDate.now().toString(), order.getTotalAmount()));
    }
}
